package cn.zjyj.module.zjyj.controller.admin.riskassessmentrecord.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.zjyj.framework.common.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.zjyj.framework.common.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 风险评估记录分页 Request VO")
@Data
public class RiskAssessmentRecordPageReqVO extends PageParam {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "风险申请记录id", example = "5957")
    private Long applyRecordId;

    @Schema(description = "风险辨识id", example = "9773")
    private Long identifyId;

    @Schema(description = "风险辨识实例id", example = "30850")
    private Long identifyInstanceId;

    @Schema(description = "风险对象id", example = "15329")
    private Long riskTargetId;

    @Schema(description = "风险对象")
    private String riskTarget;

    @Schema(description = "风险对象内容id", example = "12902")
    private Long riskTargetContentId;

    @Schema(description = "风险对象内容")
    private String riskTargetContent;

    @Schema(description = "风险程度")
    private String riskDegree;

    @Schema(description = "风险等级")
    private Integer riskLevel;

    @Schema(description = "风险等级")
    private Integer fixedRiskLevel;

    @Schema(description = "真实风险等级")
    private Integer realRiskLevel;

    @Schema(description = "风险对象内容所属单元id", example = "26501")
    private Long riskTargetContentUnitId;

    @Schema(description = "风险对象内容所属单元名称", example = "赵六")
    private String riskTargetContentUnitName;

    @Schema(description = "风险对象内容负责人id", example = "2654")
    private Long riskTargetContentLeaderId;

    @Schema(description = "检查周期")
    private Integer checkCycle;

    @Schema(description = "检查周期单位")
    private String checkCycleUnit;

    @Schema(description = "检查内容")
    private String checkContents;

}